﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001359 RID: 4953
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TakeMultipleExpeditionRewardScRsp : IMessage<TakeMultipleExpeditionRewardScRsp>, IMessage, IEquatable<TakeMultipleExpeditionRewardScRsp>, IDeepCloneable<TakeMultipleExpeditionRewardScRsp>, IBufferMessage
	{
		// Token: 0x17003E7B RID: 15995
		// (get) Token: 0x0600DDC6 RID: 56774 RVA: 0x00251AE3 File Offset: 0x0024FCE3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TakeMultipleExpeditionRewardScRsp> Parser
		{
			get
			{
				return TakeMultipleExpeditionRewardScRsp._parser;
			}
		}

		// Token: 0x17003E7C RID: 15996
		// (get) Token: 0x0600DDC7 RID: 56775 RVA: 0x00251AEA File Offset: 0x0024FCEA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TakeMultipleExpeditionRewardScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003E7D RID: 15997
		// (get) Token: 0x0600DDC8 RID: 56776 RVA: 0x00251AFC File Offset: 0x0024FCFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TakeMultipleExpeditionRewardScRsp.Descriptor;
			}
		}

		// Token: 0x0600DDC9 RID: 56777 RVA: 0x00251B03 File Offset: 0x0024FD03
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeMultipleExpeditionRewardScRsp()
		{
		}

		// Token: 0x0600DDCA RID: 56778 RVA: 0x00251B2C File Offset: 0x0024FD2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeMultipleExpeditionRewardScRsp(TakeMultipleExpeditionRewardScRsp other) : this()
		{
			this.reward_ = ((other.reward_ != null) ? other.reward_.Clone() : null);
			this.fMEKDBDKALM_ = other.fMEKDBDKALM_.Clone();
			this.oPBKLACOKCA_ = other.oPBKLACOKCA_.Clone();
			this.retcode_ = other.retcode_;
			this.aBBCAAAPEIH_ = other.aBBCAAAPEIH_.Clone();
			this.hAJEJEFLKJD_ = ((other.hAJEJEFLKJD_ != null) ? other.hAJEJEFLKJD_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600DDCB RID: 56779 RVA: 0x00251BC7 File Offset: 0x0024FDC7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeMultipleExpeditionRewardScRsp Clone()
		{
			return new TakeMultipleExpeditionRewardScRsp(this);
		}

		// Token: 0x17003E7E RID: 15998
		// (get) Token: 0x0600DDCC RID: 56780 RVA: 0x00251BCF File Offset: 0x0024FDCF
		// (set) Token: 0x0600DDCD RID: 56781 RVA: 0x00251BD7 File Offset: 0x0024FDD7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemList Reward
		{
			get
			{
				return this.reward_;
			}
			set
			{
				this.reward_ = value;
			}
		}

		// Token: 0x17003E7F RID: 15999
		// (get) Token: 0x0600DDCE RID: 56782 RVA: 0x00251BE0 File Offset: 0x0024FDE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<ItemList> FMEKDBDKALM
		{
			get
			{
				return this.fMEKDBDKALM_;
			}
		}

		// Token: 0x17003E80 RID: 16000
		// (get) Token: 0x0600DDCF RID: 56783 RVA: 0x00251BE8 File Offset: 0x0024FDE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<ItemList> OPBKLACOKCA
		{
			get
			{
				return this.oPBKLACOKCA_;
			}
		}

		// Token: 0x17003E81 RID: 16001
		// (get) Token: 0x0600DDD0 RID: 56784 RVA: 0x00251BF0 File Offset: 0x0024FDF0
		// (set) Token: 0x0600DDD1 RID: 56785 RVA: 0x00251BF8 File Offset: 0x0024FDF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17003E82 RID: 16002
		// (get) Token: 0x0600DDD2 RID: 56786 RVA: 0x00251C01 File Offset: 0x0024FE01
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> ABBCAAAPEIH
		{
			get
			{
				return this.aBBCAAAPEIH_;
			}
		}

		// Token: 0x17003E83 RID: 16003
		// (get) Token: 0x0600DDD3 RID: 56787 RVA: 0x00251C09 File Offset: 0x0024FE09
		// (set) Token: 0x0600DDD4 RID: 56788 RVA: 0x00251C11 File Offset: 0x0024FE11
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemList HAJEJEFLKJD
		{
			get
			{
				return this.hAJEJEFLKJD_;
			}
			set
			{
				this.hAJEJEFLKJD_ = value;
			}
		}

		// Token: 0x0600DDD5 RID: 56789 RVA: 0x00251C1A File Offset: 0x0024FE1A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TakeMultipleExpeditionRewardScRsp);
		}

		// Token: 0x0600DDD6 RID: 56790 RVA: 0x00251C28 File Offset: 0x0024FE28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TakeMultipleExpeditionRewardScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.Reward, other.Reward) && this.fMEKDBDKALM_.Equals(other.fMEKDBDKALM_) && this.oPBKLACOKCA_.Equals(other.oPBKLACOKCA_) && this.Retcode == other.Retcode && this.aBBCAAAPEIH_.Equals(other.aBBCAAAPEIH_) && object.Equals(this.HAJEJEFLKJD, other.HAJEJEFLKJD) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600DDD7 RID: 56791 RVA: 0x00251CCC File Offset: 0x0024FECC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.reward_ != null)
			{
				num ^= this.Reward.GetHashCode();
			}
			num ^= this.fMEKDBDKALM_.GetHashCode();
			num ^= this.oPBKLACOKCA_.GetHashCode();
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			num ^= this.aBBCAAAPEIH_.GetHashCode();
			if (this.hAJEJEFLKJD_ != null)
			{
				num ^= this.HAJEJEFLKJD.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600DDD8 RID: 56792 RVA: 0x00251D61 File Offset: 0x0024FF61
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600DDD9 RID: 56793 RVA: 0x00251D69 File Offset: 0x0024FF69
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600DDDA RID: 56794 RVA: 0x00251D74 File Offset: 0x0024FF74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.fMEKDBDKALM_.WriteTo(ref output, TakeMultipleExpeditionRewardScRsp._repeated_fMEKDBDKALM_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.Retcode);
			}
			if (this.reward_ != null)
			{
				output.WriteRawTag(50);
				output.WriteMessage(this.Reward);
			}
			this.oPBKLACOKCA_.WriteTo(ref output, TakeMultipleExpeditionRewardScRsp._repeated_oPBKLACOKCA_codec);
			this.aBBCAAAPEIH_.WriteTo(ref output, TakeMultipleExpeditionRewardScRsp._repeated_aBBCAAAPEIH_codec);
			if (this.hAJEJEFLKJD_ != null)
			{
				output.WriteRawTag(122);
				output.WriteMessage(this.HAJEJEFLKJD);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600DDDB RID: 56795 RVA: 0x00251E1C File Offset: 0x0025001C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.reward_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Reward);
			}
			num += this.fMEKDBDKALM_.CalculateSize(TakeMultipleExpeditionRewardScRsp._repeated_fMEKDBDKALM_codec);
			num += this.oPBKLACOKCA_.CalculateSize(TakeMultipleExpeditionRewardScRsp._repeated_oPBKLACOKCA_codec);
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			num += this.aBBCAAAPEIH_.CalculateSize(TakeMultipleExpeditionRewardScRsp._repeated_aBBCAAAPEIH_codec);
			if (this.hAJEJEFLKJD_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.HAJEJEFLKJD);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600DDDC RID: 56796 RVA: 0x00251EC4 File Offset: 0x002500C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TakeMultipleExpeditionRewardScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.reward_ != null)
			{
				if (this.reward_ == null)
				{
					this.Reward = new ItemList();
				}
				this.Reward.MergeFrom(other.Reward);
			}
			this.fMEKDBDKALM_.Add(other.fMEKDBDKALM_);
			this.oPBKLACOKCA_.Add(other.oPBKLACOKCA_);
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this.aBBCAAAPEIH_.Add(other.aBBCAAAPEIH_);
			if (other.hAJEJEFLKJD_ != null)
			{
				if (this.hAJEJEFLKJD_ == null)
				{
					this.HAJEJEFLKJD = new ItemList();
				}
				this.HAJEJEFLKJD.MergeFrom(other.HAJEJEFLKJD);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600DDDD RID: 56797 RVA: 0x00251F8B File Offset: 0x0025018B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600DDDE RID: 56798 RVA: 0x00251F94 File Offset: 0x00250194
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num > 50U)
				{
					if (num <= 88U)
					{
						if (num == 66U)
						{
							this.oPBKLACOKCA_.AddEntriesFrom(ref input, TakeMultipleExpeditionRewardScRsp._repeated_oPBKLACOKCA_codec);
							continue;
						}
						if (num != 88U)
						{
							goto IL_36;
						}
					}
					else if (num != 90U)
					{
						if (num != 122U)
						{
							goto IL_36;
						}
						if (this.hAJEJEFLKJD_ == null)
						{
							this.HAJEJEFLKJD = new ItemList();
						}
						input.ReadMessage(this.HAJEJEFLKJD);
						continue;
					}
					this.aBBCAAAPEIH_.AddEntriesFrom(ref input, TakeMultipleExpeditionRewardScRsp._repeated_aBBCAAAPEIH_codec);
					continue;
				}
				if (num == 10U)
				{
					this.fMEKDBDKALM_.AddEntriesFrom(ref input, TakeMultipleExpeditionRewardScRsp._repeated_fMEKDBDKALM_codec);
					continue;
				}
				if (num == 24U)
				{
					this.Retcode = input.ReadUInt32();
					continue;
				}
				if (num == 50U)
				{
					if (this.reward_ == null)
					{
						this.Reward = new ItemList();
					}
					input.ReadMessage(this.Reward);
					continue;
				}
				IL_36:
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040057FC RID: 22524
		private static readonly MessageParser<TakeMultipleExpeditionRewardScRsp> _parser = new MessageParser<TakeMultipleExpeditionRewardScRsp>(() => new TakeMultipleExpeditionRewardScRsp());

		// Token: 0x040057FD RID: 22525
		private UnknownFieldSet _unknownFields;

		// Token: 0x040057FE RID: 22526
		public const int RewardFieldNumber = 6;

		// Token: 0x040057FF RID: 22527
		private ItemList reward_;

		// Token: 0x04005800 RID: 22528
		public const int FMEKDBDKALMFieldNumber = 1;

		// Token: 0x04005801 RID: 22529
		private static readonly FieldCodec<ItemList> _repeated_fMEKDBDKALM_codec = FieldCodec.ForMessage<ItemList>(10U, ItemList.Parser);

		// Token: 0x04005802 RID: 22530
		private readonly RepeatedField<ItemList> fMEKDBDKALM_ = new RepeatedField<ItemList>();

		// Token: 0x04005803 RID: 22531
		public const int OPBKLACOKCAFieldNumber = 8;

		// Token: 0x04005804 RID: 22532
		private static readonly FieldCodec<ItemList> _repeated_oPBKLACOKCA_codec = FieldCodec.ForMessage<ItemList>(66U, ItemList.Parser);

		// Token: 0x04005805 RID: 22533
		private readonly RepeatedField<ItemList> oPBKLACOKCA_ = new RepeatedField<ItemList>();

		// Token: 0x04005806 RID: 22534
		public const int RetcodeFieldNumber = 3;

		// Token: 0x04005807 RID: 22535
		private uint retcode_;

		// Token: 0x04005808 RID: 22536
		public const int ABBCAAAPEIHFieldNumber = 11;

		// Token: 0x04005809 RID: 22537
		private static readonly FieldCodec<uint> _repeated_aBBCAAAPEIH_codec = FieldCodec.ForUInt32(90U);

		// Token: 0x0400580A RID: 22538
		private readonly RepeatedField<uint> aBBCAAAPEIH_ = new RepeatedField<uint>();

		// Token: 0x0400580B RID: 22539
		public const int HAJEJEFLKJDFieldNumber = 15;

		// Token: 0x0400580C RID: 22540
		private ItemList hAJEJEFLKJD_;
	}
}
